﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
 public   class NhaXuatBan_BLL
    {
     NhaXuatBan_Data nxb_data = new NhaXuatBan_Data();
     public DataTable TaoBang(string sql)
     {
         return nxb_data.TaoBang(sql);
     }
     public DataTable LayDuLieu()
     {
         return nxb_data.LayDuLieu();
     }
     public int Insert(NhaXuatBan_Public maNhaXB, NhaXuatBan_Public tenNXB, NhaXuatBan_Public ghiChu)
     {

         return nxb_data.Insert(maNhaXB,tenNXB,ghiChu);
     }
     public int Update(NhaXuatBan_Public maNhaXB, NhaXuatBan_Public tenNXB, NhaXuatBan_Public ghiChu)
     {

         return nxb_data.Update(maNhaXB,tenNXB,ghiChu);
     }
     public int Delete(NhaXuatBan_Public maNhaXB)
     {

         return nxb_data.Delete(maNhaXB);
     }
    }
}
